{include file="User@Public:header"/}
{include file="User@Public:nav"/}
<div class="container">
	<div class="row">
		<div class="col-md-2">
			{include file="User@Public:left_menu"/}
		</div>
		<div class="col-md-10">
			<div class="user-info cf">
				<div class="fl"><img src="{:avatar($uid,'big')}" class="radius"></div>
				<dl class="info-left">
					<dt>{$username}</dt>
					<dd><div class="item"><span>昵称：</span>{$nickname}</div><div class="item"><span>生日：</span>{$birthday}</div></dd>
					<dd>
						<span>签名：</span>{$signature}
					</dd>
				</dl>
			</div>

			<div class="panel panel-default cf">
				<div class="panel-heading">
					<h3 class="panel-title">内容动态</h3>
				</div>
				<div class="panel-body">
					<!-- Contents================================================== -->
					<article:list name="list" child="true">
					<div class="cf list-boxes">
						<h2><a href="{:U('Article/detail?id='.$list['id'])}">{$list.title}</a></h2>
						<p>{$list.description}</p>
						<div>
							<div class="fl">
								<div class="list-actions">
									<span class="author">{$list.uid|get_username}</span>
									<span>于 {$list.create_time|date='Y-m-d H:i',###}</span> 发表在 
									<span><a href="{:U('Article/lists?category='.get_category_name($list['category_id']))}">{$list.category_id|get_category_title}</a></span> 
									<span>阅读( {$list.view} )</span>
								</div>
							</div>
							<a class="btn btn-warning fr" href="{:U('Article/detail?id='.$list['id'])}">查看全文</a>
						</div>
					</div>
					</article:list>

					<div class="onethink pagination pagination-right pagination-large">
						<article:page cate="$category['id']" listrow="$category['list_row']" />
					</div>
				</div>
			</div>

		</div>
	</div>
</div>
{include file="User@Public:footer"/}